package com.jeeplus.modules.sys.entity;

import com.jeeplus.core.persistence.DataEntity;

import java.util.List;

/**
 * @author Administrator
 * @title: TreeModel
 * @projectName JeePlus
 * @description: TODO
 * @date 2019/10/2717:05
 */

public class TreeModel  {
    /// <summary>
    /// 节点id
    /// </summary>
    public String id;
    /// <summary>
    /// 节点显示数据
    /// </summary>
    public String text;
    /// <summary>
    /// 节点提示
    /// </summary>
    public String title;
    /// <summary>
    /// 节点数值
    /// </summary>
    public String value;
    /// <summary>
    /// 显示图标
    /// </summary>
    public String icon;
    /// <summary>
    /// 是否显示勾选框
    /// </summary>
    public boolean showcheck;
    /// <summary>
    /// 是否被勾选0 for unchecked, 1 for partial checked, 2 for checked
    /// </summary>
    public int checkstate;
    /// <summary>
    /// 是否有子节点
    /// </summary>
    public boolean hasChildren;
    /// <summary>
    /// 是否展开
    /// </summary>
    public boolean isexpand;
    /// <summary>
    /// 子节点是否已经加载完成了
    /// </summary>
    public boolean complete;
    /// <summary>
    /// 子节点列表数据
    /// </summary>
    public List<TreeModel> ChildNodes;
    /// <summary>
    /// 父级节点ID
    /// </summary>
    public String parentId;
}
